import Vue from 'vue'
import App from './App.vue'
import router from './router/index.js'
import store from './store/index'
Vue.config.productionTip = false
import '@/styles/index.scss' // global css
import './utils/common.js'
import VueDPlayer from "vue-dplayer";

import "vue-dplayer/dist/vue-dplayer.css";
Vue.use(VueDPlayer);

import ElementUI from 'element-ui';

Vue.use(ElementUI)

// 右键弹出菜单
import VueContextMenu from '@xunlei/vue-context-menu'
Vue.use(VueContextMenu)

// import Viewer from 'v-viewer'
// import 'viewerjs/dist/viewer.css'
// Vue.use(Viewer)
// Viewer.setDefaults({
//   Options: { 'inline': true, 'button': true, 'navbar': true, 'title': true, 'toolbar': true, 'tooltip': true, 'movable': true, 'zoomable': true, 'rotatable': true, 'scalable': true, 'transition': true, 'fullscreen': true, 'keyboard': true, 'url': 'data-source' }
// })

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
